diff options
Diffstat (limited to 'palm')
-rw-r--r-- | palm/ppmtoTbmp/Makefile | 2 |
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; \ |