aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2011-12-03 20:34:21 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2011-12-03 20:34:21 +0000
commit89c9f3df7cbc69b32a741d1d57cd83d85b6e7aa7 (patch)
tree5ceb51a501a597b4c92c5c7dabfbdb0ed1e97b0e
parent564cfd1b2e1217b2a6ed3481217753113881f15f (diff)
downloadports-89c9f3df7cbc69b32a741d1d57cd83d85b6e7aa7.tar.gz
ports-89c9f3df7cbc69b32a741d1d57cd83d85b6e7aa7.zip
Notes
-rw-r--r--devel/bglibs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/bglibs/Makefile b/devel/bglibs/Makefile
index 335fd73feda0..e20248394ff2 100644
--- a/devel/bglibs/Makefile
+++ b/devel/bglibs/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bglibs
PORTVERSION= 1.106
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= http://untroubled.org/${PORTNAME}/archive/ \
@@ -29,6 +30,9 @@ USE_LDCONFIG= ${BGLIBS_LIB}
DOCS= NEWS README TODO doc/html/*
MAN1= cli-generate.1
+post-patch:
+ ${REINPLACE_CMD} '/main/s/void/int/' ${WRKSRC}/sys/try*.c
+
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld