aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libcomprex
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-24 01:30:56 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-24 01:30:56 +0800
commite5fc68b1ccf31888c7afe3a5f9a2c7efd052ec45 (patch)
tree887d034f7a926561fa799bda76fdb3f6d9134ea7 /archivers/libcomprex
parentff7a4e38c35178bc52c47a4cb7f6ec7e2020ce15 (diff)
downloadfreebsd-ports-gnome-e5fc68b1ccf31888c7afe3a5f9a2c7efd052ec45.tar.gz
freebsd-ports-gnome-e5fc68b1ccf31888c7afe3a5f9a2c7efd052ec45.tar.zst
freebsd-ports-gnome-e5fc68b1ccf31888c7afe3a5f9a2c7efd052ec45.zip
- Conditionalize bzip2 dependencies
- Fix pkg-plist PR: 32212 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'archivers/libcomprex')
-rw-r--r--archivers/libcomprex/Makefile9
-rw-r--r--archivers/libcomprex/pkg-plist5
2 files changed, 8 insertions, 6 deletions
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile
index a052a5c82bc7..cc77cdbac768 100644
--- a/archivers/libcomprex/Makefile
+++ b/archivers/libcomprex/Makefile
@@ -14,14 +14,15 @@ MASTER_SITE_SUBDIR= gnupdate
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= bz2:${PORTSDIR}/archivers/bzip2 \
- curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
+.endif
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
-MAN1= comprex-config.1
+MAN1= comprex-config.1
.include <bsd.port.mk>
diff --git a/archivers/libcomprex/pkg-plist b/archivers/libcomprex/pkg-plist
index 68599a5e19a8..0712d98600c4 100644
--- a/archivers/libcomprex/pkg-plist
+++ b/archivers/libcomprex/pkg-plist
@@ -10,9 +10,10 @@ lib/comprex/file/bzip2.so
lib/comprex/file/zlib.so
lib/comprex/scheme/curl.a
lib/libcomprex.a
+lib/libcomprex.so
lib/libcomprex.so.0
share/aclocal/comprex.m4
-@dirrm include/libcomprex
-@dirrm lib/comprex/file
@dirrm lib/comprex/scheme
+@dirrm lib/comprex/file
@dirrm lib/comprex
+@dirrm include/libcomprex