diff options
Diffstat (limited to 'dns/libidn/Makefile')
-rw-r--r-- | dns/libidn/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile index 80d1766f304e..48d566f8ef75 100644 --- a/dns/libidn/Makefile +++ b/dns/libidn/Makefile @@ -3,6 +3,7 @@ PORTNAME= libidn PORTVERSION= 1.28 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= GNU @@ -40,6 +41,9 @@ post-patch: @${REINPLACE_CMD} -e '/^install-data-am: / s| install-imagesDATA||' \ ${WRKSRC}/doc/Makefile.in .endif +.if ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e 's/-lidn/& -lintl/' ${WRKSRC}/libidn.pc.in +.endif post-install: .if ${PORT_OPTIONS:MDOCS} |