diff options
Diffstat (limited to 'net/gspoof/Makefile')
-rw-r--r-- | net/gspoof/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/gspoof/Makefile b/net/gspoof/Makefile index fe107c493b86..90124803330e 100644 --- a/net/gspoof/Makefile +++ b/net/gspoof/Makefile @@ -14,17 +14,13 @@ LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet USE_GNOME= gtk20 GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-libnet-prefix=${LOCALBASE} USES= gmake OPTIONS_DEFINE= DOCS -LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config - post-patch: - @${REINPLACE_CMD} -e \ - 's|-Wall -O2|$${CFLAGS}|g; \ - s|libnet-config|${LIBNET_CONFIG}|' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} 's|-Wall -O2|$${CFLAGS}|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-Wall -O2|@CFLAGS@|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|g ; \ s|/usr/share|${LOCALBASE}/share|g' ${WRKSRC}/gtk.c |