summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorPatrick S. Gardella <patrick@FreeBSD.org>2004-02-24 16:30:29 +0000
committerPatrick S. Gardella <patrick@FreeBSD.org>2004-02-24 16:30:29 +0000
commit4ab61366a2a703608af15655c60d124a96d26bcd (patch)
tree58f97a491b1e1e8e32cd5d7e1466648004b0c350 /comms
parentChange the location of the downloadable file. (diff)
Merge in port changes
PR: 61770 Submitted by: Matt Dawson <matt@mattsnetwork.co.uk>
Notes
Notes: svn path=/head/; revision=101997
Diffstat (limited to 'comms')
-rw-r--r--comms/xlog/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/comms/xlog/Makefile b/comms/xlog/Makefile
index 6d34f266408c..56bf507d5803 100644
--- a/comms/xlog/Makefile
+++ b/comms/xlog/Makefile
@@ -21,9 +21,13 @@ MAN1= xlog.1
.include <bsd.port.mk>
.if defined(WITH_HAMLIB)
-LIB_DEPENDS= hamlib-1.1.4.1:${PORTSDIR}/comms/hamlib
+LIB_DEPENDS= hamlib:${PORTSDIR}/comms/hamlib
CONFIGURE_ARGS+= --enable-hamlib
PLIST_SUB+= HAMLIB=""
-CONFIGURE_ENV= PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
-MAKE_ENV= PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
+USE_PKGCONFIG= yes
+.endif
+
+pre-extract:
+.if !defined(WITH_HAMLIB)
+ @${ECHO_MSG} "You can enable hamlib support for Xlog by defining WITH_HAMLIB"
.endif