aboutsummaryrefslogtreecommitdiff
path: root/sysutils/shlock
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-22 17:21:38 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-22 17:21:38 +0000
commit3215dd87eaef10fd23e01ba228d30c636c8920d6 (patch)
treef155530560103feab20d78b5827c8ce8075fe976 /sysutils/shlock
parent8f4430ac046a657b69a67aa66470817b7641b871 (diff)
downloadports-3215dd87eaef10fd23e01ba228d30c636c8920d6.tar.gz
ports-3215dd87eaef10fd23e01ba228d30c636c8920d6.zip
Notes
Diffstat (limited to 'sysutils/shlock')
-rw-r--r--sysutils/shlock/Makefile11
-rw-r--r--sysutils/shlock/distinfo8
2 files changed, 12 insertions, 7 deletions
diff --git a/sysutils/shlock/Makefile b/sysutils/shlock/Makefile
index f39c56a27571..86859fc6929f 100644
--- a/sysutils/shlock/Makefile
+++ b/sysutils/shlock/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= shlock
-PORTVERSION= 2.5.5
+PORTVERSION= 2.6.0
CATEGORIES= sysutils
MASTER_SITES= ISC/inn
DISTFILES= inn-${PORTVERSION}${EXTRACT_SUFX} \
@@ -15,6 +15,7 @@ WRKSRC= ${WRKDIR}/inn-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_PERL="${TRUE}"
+CONFIGURE_ARGS= --disable-shared
ALL_TARGET= all-lib
PLIST_FILES= bin/shlock man/man1/shlock.1.gz
@@ -22,12 +23,16 @@ PLIST_FILES= bin/shlock man/man1/shlock.1.gz
verify: checksum
gpg --verify ${DISTDIR}/inn-${PORTVERSION}${EXTRACT_SUFX}.asc
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/#pragma GCC/s|^|// |' ${WRKSRC}/lib/getmodaddr.c
+
post-build:
@(cd ${WRKSRC}/backends && ${DO_MAKE_BUILD} shlock)
do-install:
- (cd ${WRKSRC}/backends && ${INSTALL_PROGRAM} shlock \
- ${STAGEDIR}${PREFIX}/bin)
+ (cd ${WRKSRC}/backends && ${WRKSRC}/libtool --mode=install \
+ ${INSTALL_PROGRAM} shlock ${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC}/doc/man && ${INSTALL_MAN} shlock.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
diff --git a/sysutils/shlock/distinfo b/sysutils/shlock/distinfo
index 41405352d666..065a784fd264 100644
--- a/sysutils/shlock/distinfo
+++ b/sysutils/shlock/distinfo
@@ -1,4 +1,4 @@
-SHA256 (inn-2.5.5.tar.gz) = 4245602c2c30fd3fe38513e9403c8d0ea4eb76256961591f97da630c341053bf
-SIZE (inn-2.5.5.tar.gz) = 2419841
-SHA256 (inn-2.5.5.tar.gz.asc) = be097469edad0a504c5dacdf2e110e53f0f1918b3ec8ed3d46c8ecdf955d69f2
-SIZE (inn-2.5.5.tar.gz.asc) = 473
+SHA256 (inn-2.6.0.tar.gz) = ba96be8e87c2b56bf896c9f96492ed7706beb68e082794f8fabc7058a1804da7
+SIZE (inn-2.6.0.tar.gz) = 2597729
+SHA256 (inn-2.6.0.tar.gz.asc) = 7e855a79b50606871f299bae8c47531a376ce87f0b99bb7cba30bcdc7a155020
+SIZE (inn-2.6.0.tar.gz.asc) = 473