1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Made net/firedns LOCALBASE aware.

Informed maintainer.
This commit is contained in:
Edwin Groothuis 2003-01-03 03:07:13 +00:00
parent 764ae5c3a5
commit c7f775ef0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72326
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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