aboutsummaryrefslogtreecommitdiffstats
path: root/security/snortsam
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-08-22 05:00:33 +0800
committerdougb <dougb@FreeBSD.org>2012-08-22 05:00:33 +0800
commitb27652b43bdb1dc4a973d1db0d0da523579e215b (patch)
tree687cc3167fd1d7bdcfa54b68496dfda41bdf40fa /security/snortsam
parent0ebe4ddc54831b4e06084ce6d046dbba142175ce (diff)
downloadfreebsd-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/Makefile4
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