aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-03 11:07:13 +0800
committeredwin <edwin@FreeBSD.org>2003-01-03 11:07:13 +0800
commitcdc6c40654911537765f4c474d3acff3494aca6a (patch)
treeb78f90d5b70ec60b4b8bcad18c208b6dcac33f93
parent33b19085bc04a8e6ab3958cad71986890276ab53 (diff)
downloadfreebsd-ports-gnome-cdc6c40654911537765f4c474d3acff3494aca6a.tar.gz
freebsd-ports-gnome-cdc6c40654911537765f4c474d3acff3494aca6a.tar.zst
freebsd-ports-gnome-cdc6c40654911537765f4c474d3acff3494aca6a.zip
Made net/firedns LOCALBASE aware.
Informed maintainer.
-rw-r--r--dns/firedns/Makefile5
-rw-r--r--net/firedns/Makefile5
2 files changed, 10 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
diff --git a/net/firedns/Makefile b/net/firedns/Makefile
index 58ae91659f8c..928b7413b148 100644
--- a/net/firedns/Makefile
+++ b/net/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