aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2017-10-06 11:18:35 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2017-10-06 11:18:35 +0000
commit80365401d0256e1e916b625c829e841f650477c2 (patch)
treeac88a3b062a4f6d68cc3af9680e064e4b01f1e5f /palm
parent98407f9031c963deea22b05bb38380d6b6bf02e1 (diff)
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/imgvtopgm/Makefile4
-rw-r--r--palm/ppmtoTbmp/Makefile5
2 files changed, 6 insertions, 3 deletions
diff --git a/palm/imgvtopgm/Makefile b/palm/imgvtopgm/Makefile
index b4f82235b97b..46a56e6f575e 100644
--- a/palm/imgvtopgm/Makefile
+++ b/palm/imgvtopgm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= imgvtopgm
PORTVERSION= 2.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= palm graphics
MASTER_SITES= http://linuxmafia.com/pub/palmos/other-os/
@@ -15,6 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libnetpbm.so:graphics/netpbm
+USES= localbase
+
GNU_CONFIGURE= yes
.include <bsd.port.mk>
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