aboutsummaryrefslogtreecommitdiff
path: root/irc/inspircd12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/inspircd12/Makefile')
-rw-r--r--irc/inspircd12/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/irc/inspircd12/Makefile b/irc/inspircd12/Makefile
index fe7ea00af27a..0570403b5487 100644
--- a/irc/inspircd12/Makefile
+++ b/irc/inspircd12/Makefile
@@ -18,7 +18,6 @@ CONFLICTS= inspircd-2.*
LATEST_LINK= inspircd12
-WRKSRC= ${WRKDIR}/inspircd
USE_BZIP2= yes
USE_LDCONFIG= ${PREFIX}/lib/inspircd
USE_RC_SUBR= inspircd
@@ -178,6 +177,9 @@ PLIST_SUB+= ZIPLINK="@comment "
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+post-extract:
+ @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+
post-patch:
${REINPLACE_CMD} -e '/INSTMODE/s|700|755|;/install -d.*BINPATH/d'\
-e 's,FLAGS = @FLAGS@,FLAGS = ${CXXFLAGS} @FLAGS@,' \