aboutsummaryrefslogtreecommitdiff
path: root/dns/firedns
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-03 03:07:13 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-03 03:07:13 +0000
commitc7f775ef0d3ca6c862b4a546fb1a365a40013d90 (patch)
treea2719992a9ad4be64ccb26c69031e2194188b3b7 /dns/firedns
parent764ae5c3a5f3d0bbd8d9843d203de230c0a8d711 (diff)
downloadports-c7f775ef0d3ca6c862b4a546fb1a365a40013d90.tar.gz
ports-c7f775ef0d3ca6c862b4a546fb1a365a40013d90.zip
Notes
Diffstat (limited to 'dns/firedns')
-rw-r--r--dns/firedns/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/dns/firedns/Makefile b/dns/firedns/Makefile
index 58ae91659f8c..928b7413b148 100644
--- a/dns/firedns/Makefile
+++ b/dns/firedns/Makefile
@@ -20,6 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/firestring.h:${PORTSDIR}/misc/firestring
HAS_CONFIGURE= yes
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
MAN3= firedns_aton4.3 firedns_aton6.3 firedns_dnsbl_lookup.3 \
firedns_getip4.3 firedns_getip6.3 firedns_getmx.3 \
@@ -30,6 +31,10 @@ MAN3= firedns_aton4.3 firedns_aton6.3 firedns_dnsbl_lookup.3 \
firedns_resolvename4.3 firedns_resolvename6.3 \
firedns_resolvetxt.3 libfiredns.3
+post-patch:
+ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/firemake.cflags ${WRKSRC}/firemake.ldflags
+
post-install:
@cd ${PREFIX}/lib; ${MV} libfiredns.so libfiredns.so.0; \
${LN} -s libfiredns.so.0 libfiredns.so