summaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-04-04 05:12:54 +0000
committerdinoex <dinoex@FreeBSD.org>2004-04-04 05:12:54 +0000
commit997331981bb7354e45de1a0a75a28de726f6d090 (patch)
treed2acbcdc5c7fc3521a3dce2781e8ef4acdc8d78e /palm
parent1f5efb784596da12a2144bb0e30f93dc7fa65257 (diff)
downloadFreeBSD-ports-997331981bb7354e45de1a0a75a28de726f6d090.zip
FreeBSD-ports-997331981bb7354e45de1a0a75a28de726f6d090.tar.gz
- fix linkage with netpbm
- supoort LDFLAGS Reported by: kris (dosirak)
Diffstat (limited to 'palm')
-rw-r--r--palm/ppmtoTbmp/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
index 0826c38..c5aca96 100644
--- a/palm/ppmtoTbmp/Makefile
+++ b/palm/ppmtoTbmp/Makefile
@@ -16,6 +16,8 @@ COMMENT= PPM to Pilot bitmap converter
LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
USE_REINPLACE= yes
+MAKE_ENV+= LDFLAGS="${LDFLAGS}"
+LDFLAGS+= -lm
post-patch:
@${REINPLACE_CMD} -e "s|^CFLAGS =.*|CFLAGS += -I${LOCALBASE}/include|g; \
OpenPOWER on IntegriCloud