aboutsummaryrefslogtreecommitdiff
path: root/comms/xlog
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/xlog
parentd5dac19ccfc8d9ecce93312a9c2b608f5683cc70 (diff)
downloadports-4ab61366a2a703608af15655c60d124a96d26bcd.tar.gz
ports-4ab61366a2a703608af15655c60d124a96d26bcd.zip
Notes
Diffstat (limited to 'comms/xlog')
-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