aboutsummaryrefslogtreecommitdiffstats
path: root/palm/ppmtoTbmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'palm/ppmtoTbmp/Makefile')
-rw-r--r--palm/ppmtoTbmp/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
index fc379f42fd96..fd4d4b6edd9e 100644
--- a/palm/ppmtoTbmp/Makefile
+++ b/palm/ppmtoTbmp/Makefile
@@ -14,8 +14,9 @@ LICENSE= NONE
LIB_DEPENDS= libnetpbm.so:graphics/netpbm
-MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDLIBS=-lnetpbm
-LDFLAGS+= -L${LOCALBASE}/lib
+USES= localbase:ldflags
+MAKE_ARGS= CFLAGS="${CFLAGS}" LDLIBS=-lnetpbm
+CFLAGS+= -I${LOCALBASE}/include/netpbm
PORTDOCS= README