diff options
author | tijl <tijl@FreeBSD.org> | 2016-03-20 18:53:08 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2016-03-20 18:53:08 +0800 |
commit | 9bf09f69cf8a3acf95e51a0a1e8d6eedfd31e3ca (patch) | |
tree | c30aa05ffe4be67ca3bb38317073b7e6603daa7c /net/gspoof/Makefile | |
parent | 6af0c041428d493f447a328f9e81efe5b6d72273 (diff) | |
download | freebsd-ports-gnome-9bf09f69cf8a3acf95e51a0a1e8d6eedfd31e3ca.tar.gz freebsd-ports-gnome-9bf09f69cf8a3acf95e51a0a1e8d6eedfd31e3ca.tar.zst freebsd-ports-gnome-9bf09f69cf8a3acf95e51a0a1e8d6eedfd31e3ca.zip |
Install net/libnet headers and libraries back in the location where other
ports expect it. The files were put in a different location to avoid a
conflict with net/libnet10 but this port has been removed a while ago now.
PR: 208122
Exp-run by: antoine
Approved by: portmgr (antoine)
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 |