diff options
author | dougb <dougb@FreeBSD.org> | 2012-08-22 05:00:33 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2012-08-22 05:00:33 +0800 |
commit | b27652b43bdb1dc4a973d1db0d0da523579e215b (patch) | |
tree | 687cc3167fd1d7bdcfa54b68496dfda41bdf40fa /security/snortsam | |
parent | 0ebe4ddc54831b4e06084ce6d046dbba142175ce (diff) | |
download | freebsd-ports-gnome-b27652b43bdb1dc4a973d1db0d0da523579e215b.tar.gz freebsd-ports-gnome-b27652b43bdb1dc4a973d1db0d0da523579e215b.tar.zst freebsd-ports-gnome-b27652b43bdb1dc4a973d1db0d0da523579e215b.zip |
Fix problem introduced in r302141. The directory for the unpacked source
files is unversioned, so it conflicts with the name of the rc.d script in
WRKDIR after SUB_FILES is applied.
Diffstat (limited to 'security/snortsam')
-rw-r--r-- | security/snortsam/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/snortsam/Makefile b/security/snortsam/Makefile index 8baee38d07a6..14030bb3aba9 100644 --- a/security/snortsam/Makefile +++ b/security/snortsam/Makefile @@ -28,7 +28,6 @@ SUB_FILES= pkg-message \ HAS_CONFIGURE= yes NO_BUILD= yes CONFIGURE_SCRIPT= src/Makefile -WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} CONFIG_DIR?= ${PREFIX}/etc/snortsam @@ -55,6 +54,9 @@ EXTRA_PATCHES+= ${FILESDIR}/ssp_ipfw2_no_table_check.patch DEBUG=-DDEBUG .endif +post-extract: + @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} + pre-configure: @${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${CONFIG_DIR}/snortsam.conf|g" ${WRKSRC}/conf/snortsam.conf.sample @${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${CONFIG_DIR}/snortsam.conf|g" ${WRKSRC}/docs/README.conf |