aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-11-02 01:52:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-11-02 01:52:14 +0800
commitd94872cad9b660dec7d983080cb8f559cd573a38 (patch)
tree23c04a1d2f1f9bf46b341c170e30bdbb89a3a021
parent82d8bea9fe29059603720d1938cb5132e5760275 (diff)
downloadfreebsd-ports-gnome-d94872cad9b660dec7d983080cb8f559cd573a38.tar.gz
freebsd-ports-gnome-d94872cad9b660dec7d983080cb8f559cd573a38.tar.zst
freebsd-ports-gnome-d94872cad9b660dec7d983080cb8f559cd573a38.zip
- Remove unnecessary CHMOD
- Strip shared library and binary executable using existing STRIP in source - Cosmetic change - Remove superfluous blank lines in patch files
-rw-r--r--net/mDNSResponder/Makefile6
-rw-r--r--net/mDNSResponder/files/patch-mDNSShared-dnsextd_lexer.l (renamed from net/mDNSResponder/files/patch-dnsextd__lexer.l)5
2 files changed, 4 insertions, 7 deletions
diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile
index 0eea43c7d333..2c743ce9deea 100644
--- a/net/mDNSResponder/Makefile
+++ b/net/mDNSResponder/Makefile
@@ -18,7 +18,7 @@ CONFLICTS_INSTALL= avahi-libdns openmdns
ALL_TARGET= all dnsextd
BUILD_WRKSRC= ${WRKSRC}/mDNSPosix
INSTALL_WRKSRC= ${WRKSRC}/mDNSPosix
-MAKE_ARGS= LDCONFIG=${TRUE} LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man os=freebsd
+MAKE_ARGS= LDCONFIG=${TRUE} LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man STRIP=${STRIP_CMD} os=freebsd
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
USE_RC_SUBR= mdnsd mdnsresponderposix
@@ -41,8 +41,6 @@ post-install:
cd ${WRKSRC}/mDNSShared/ && ${INSTALL_MAN} ${EXTRA_MAN1} ${STAGEDIR}${PREFIX}/man/man1/
cd ${WRKSRC}/mDNSShared/ && ${INSTALL_MAN} ${EXTRA_MAN8} ${STAGEDIR}${PREFIX}/man/man8/
cd ${WRKSRC}/mDNSPosix/build/prod/ && ${INSTALL_PROGRAM} ${EXTRA_SBIN} ${STAGEDIR}${PREFIX}/sbin/
- ${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libdns_sd.so.1 ${STAGEDIR}${PREFIX}/sbin/*
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libdns_sd.so.1 ${STAGEDIR}${PREFIX}/sbin/*
- ${CHMOD} u-w ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libdns_sd.so.1 ${STAGEDIR}${PREFIX}/sbin/*
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dns-sd
.include <bsd.port.mk>
diff --git a/net/mDNSResponder/files/patch-dnsextd__lexer.l b/net/mDNSResponder/files/patch-mDNSShared-dnsextd_lexer.l
index 69ac4be20522..fe64231f18c4 100644
--- a/net/mDNSResponder/files/patch-dnsextd__lexer.l
+++ b/net/mDNSResponder/files/patch-mDNSShared-dnsextd_lexer.l
@@ -1,6 +1,6 @@
---- mDNSShared/dnsextd_lexer.l.orig 2016-07-01 01:07:18 UTC
+--- mDNSShared/dnsextd_lexer.l.orig 2016-03-11 09:47:07 UTC
+++ mDNSShared/dnsextd_lexer.l
-@@ -23,6 +23,13 @@
+@@ -23,6 +23,12 @@
extern YYSTYPE yylval;
@@ -10,7 +10,6 @@
+#endif
+#endif
+
-+
#define YY_NO_INPUT 1
int yylex(void);