diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-04 19:51:51 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-04 19:51:51 +0800 |
commit | 6778fd0c5775ec6e0b5d0d8236d9c2fbd13aa731 (patch) | |
tree | f24b96577d3e5eb46c861edb10bb61273a09d9c7 /net | |
parent | ff6a481fd3062fe694b39a5ff917f67e2011476d (diff) | |
download | freebsd-ports-gnome-6778fd0c5775ec6e0b5d0d8236d9c2fbd13aa731.tar.gz freebsd-ports-gnome-6778fd0c5775ec6e0b5d0d8236d9c2fbd13aa731.tar.zst freebsd-ports-gnome-6778fd0c5775ec6e0b5d0d8236d9c2fbd13aa731.zip |
Port net/libconnect installation problem fix
When NOPROFILE variable is set the port libconnect could
not be installed. The installation procedure from the
Makefile always tried to install the libconnect_p.a file
but if NOPROFILE is set the profiled version is not built.
PR: ports/50544
Submitted by: Alex Semenyaka <alexs@snark.ratmir.ru>
Diffstat (limited to 'net')
-rw-r--r-- | net/libconnect/Makefile | 8 | ||||
-rw-r--r-- | net/libconnect/pkg-plist | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/net/libconnect/Makefile b/net/libconnect/Makefile index d74f8cb2a80a..fa490a127af0 100644 --- a/net/libconnect/Makefile +++ b/net/libconnect/Makefile @@ -15,10 +15,18 @@ DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= alexs@snark.rinet.ru COMMENT= Tell programs to which IP-address they should bind +.if defined(NOPROFILE) +PLIST_SUB+= NOPROFILE="@comment " +.else +PLIST_SUB+= NOPROFILE="" +.endif + do-install: -@${MKDIR} ${PREFIX}/lib @${INSTALL_PROGRAM} ${WRKSRC}/libconnect.a ${PREFIX}/lib +.if !defined(NOPROFILE) @${INSTALL_PROGRAM} ${WRKSRC}/libconnect_p.a ${PREFIX}/lib +.endif @${INSTALL_PROGRAM} ${WRKSRC}/libconnect.so.1 ${PREFIX}/lib @${LN} -fs libconnect.so.1 ${PREFIX}/lib/libconnect.so -@${MKDIR} ${DOCSDIR} diff --git a/net/libconnect/pkg-plist b/net/libconnect/pkg-plist index af1e1d94d3c7..ab36ea1b09aa 100644 --- a/net/libconnect/pkg-plist +++ b/net/libconnect/pkg-plist @@ -1,5 +1,5 @@ lib/libconnect.a -lib/libconnect_p.a +%%NOPROFILE%%lib/libconnect_p.a lib/libconnect.so.1 lib/libconnect.so share/doc/libconnect/readme |