diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2003-07-12 20:41:33 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2003-07-12 20:41:33 +0000 |
commit | e1871349c1ccb63b9ad6ccf25a4cd578a5b74be8 (patch) | |
tree | b980ddf80b9ad77ec3cb24e3e2ca06954c21659b /graphics/hpoj/Makefile | |
parent | 1227f85e1592038da232d199cf25c1c5e7df643f (diff) |
Notes
Diffstat (limited to 'graphics/hpoj/Makefile')
-rw-r--r-- | graphics/hpoj/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/hpoj/Makefile b/graphics/hpoj/Makefile index 4368b2921a28..7a05055f3da7 100644 --- a/graphics/hpoj/Makefile +++ b/graphics/hpoj/Makefile @@ -8,6 +8,7 @@ PORTNAME= hpoj PORTVERSION= 0.90 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hpoj @@ -48,8 +49,8 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-mlcd-Makefile.in \ GNU_CONFIGURE= yes # Necessary hacks to find libsnmp: -CONFIGURE_ENV= CFLAGS="-L${LOCALBASE}/lib ${PTHREAD_CFLAGS}" -CONFIGURE_ENV+= LDFLAGS="-lcipher -L${LOCALBASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_ENV= CFLAGS="${CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_CFLAGS}" +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -lcipher -L${LOCALBASE}/lib ${PTHREAD_LIBS}" .ifdef(WITHOUT_X11) CONFIGURE_ARGS= --without-qt @@ -65,7 +66,7 @@ post-patch: .endfor @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/scripts/ptal-init.in @${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/scripts/ptal-init.in -.for f in lib/ptal apps/cmdline lib/sane lib/hpojip +.for f in lib/ptal lib/sane lib/hpojip @${REINPLACE_CMD} -e 's,CFLAGS=-O,CFLAGS+= @CFLAGS@,' ${WRKSRC}/${f}/Makefile.in .endfor |