diff options
author | dougb <dougb@FreeBSD.org> | 2012-08-15 09:04:30 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2012-08-15 09:04:30 +0800 |
commit | 320cd1ea2d17c86179fa69a8da5584397ab2a2e1 (patch) | |
tree | b03e7cfe150ed1b6857b68211969a31d1b599c54 /mail/exilog | |
parent | 5a2fb644bcdcc0667463dfc374adb0058abbdd9d (diff) | |
download | freebsd-ports-gnome-320cd1ea2d17c86179fa69a8da5584397ab2a2e1.tar.gz freebsd-ports-gnome-320cd1ea2d17c86179fa69a8da5584397ab2a2e1.tar.zst freebsd-ports-gnome-320cd1ea2d17c86179fa69a8da5584397ab2a2e1.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 'mail/exilog')
-rw-r--r-- | mail/exilog/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/exilog/Makefile b/mail/exilog/Makefile index 34422b05c8b8..84da6a44d2ac 100644 --- a/mail/exilog/Makefile +++ b/mail/exilog/Makefile @@ -20,7 +20,6 @@ RUN_DEPENDS= p5-Net-Netmask>=0:${PORTSDIR}/net-mgmt/p5-Net-Netmask USE_PERL5= yes NO_BUILD= yes -WRKSRC= ${WRKDIR}/${PORTNAME} # Default sql backend WITH_SQL_BACKEND?= mysql @@ -59,6 +58,9 @@ PORTDOC_FILES= doc/Changelog \ doc/pgsql-db-script.sql .endif +post-extract: + @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} + pre-patch: @${REINPLACE_CMD} -e 's,$$RealBin/exilog.conf,${PREFIX}/etc/exilog.conf,' ${WRKSRC}/exilog_config.pm @${REINPLACE_CMD} -e "s,\(use exilog_config\),use lib \'${EXILOGDIR}\'; \1," ${WRKSRC}/exilog_agent.pl |