summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-28 20:31:38 +0000
committerdanfe <danfe@FreeBSD.org>2007-06-28 20:31:38 +0000
commitac1a21c448307f6c4bfb808a75126b031b4e7143 (patch)
tree454ef66b8b17452f401f2ad90ee58970ea65f158
parent8033af4184b5e76c60758dc3d45b271ecec0de5c (diff)
downloadFreeBSD-ports-ac1a21c448307f6c4bfb808a75126b031b4e7143.zip
FreeBSD-ports-ac1a21c448307f6c4bfb808a75126b031b4e7143.tar.gz
Fix the build with trendy GCC.
Reported by: pointhat (logs)
-rw-r--r--dns/staticcharge/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/dns/staticcharge/Makefile b/dns/staticcharge/Makefile
index 5d6f195..b75de14 100644
--- a/dns/staticcharge/Makefile
+++ b/dns/staticcharge/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= wget:${PORTSDIR}/ftp/wget
PLIST_FILES= bin/staticcharge
WRKSRC= ${WRKDIR}/staticcharge
USE_GNOME= gtk12
-USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -28,6 +27,11 @@ USE_GMAKE= yes
CONFIGURE_ARGS+= --enable-debug
.endif
+post-patch:
+ @${REINPLACE_CMD} -E 's,\(int\)([[:graph:]]+) = ,\1 = (char *),' \
+ ${WRKSRC}/src/checkexe.c ${WRKSRC}/src/checkip.c \
+ ${WRKSRC}/src/getfields.c
+
post-install:
@${CAT} ${PKGMESSAGE}
OpenPOWER on IntegriCloud