summaryrefslogtreecommitdiff
path: root/palm/ppmtoTbmp
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-04-04 05:12:54 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-04-04 05:12:54 +0000
commit25423a59e4fe72c24ad0f81b6af74d49dce61771 (patch)
tree6ac3673a607dcab4ad813ba928807eee0edc1fc3 /palm/ppmtoTbmp
parent- remove obsolete patches (diff)
- fix linkage with netpbm
- supoort LDFLAGS Reported by: kris (dosirak)
Notes
Notes: svn path=/head/; revision=106090
Diffstat (limited to 'palm/ppmtoTbmp')
-rw-r--r--palm/ppmtoTbmp/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
index 0826c3881d52..c5aca96dfcd7 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; \