summaryrefslogtreecommitdiff
path: root/editors/pico/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2009-11-26 00:10:42 +0000
committerjoerg <joerg>2009-11-26 00:10:42 +0000
commit2871b5cc97cfc2c01e4de708dac618a019bf37e7 (patch)
treef63e54e874a677fc840b51de2cecc48005d65e55 /editors/pico/Makefile
parentd9fb83152044ea93cae48419ffd49893e15b3999 (diff)
downloadpkgsrc-2871b5cc97cfc2c01e4de708dac618a019bf37e7.tar.gz
Always use correct --mode argument for libtool.
Diffstat (limited to 'editors/pico/Makefile')
-rw-r--r--editors/pico/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/pico/Makefile b/editors/pico/Makefile
index e9042c46e16..0fa7177983c 100644
--- a/editors/pico/Makefile
+++ b/editors/pico/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2009/05/19 08:59:12 wiz Exp $
+# $NetBSD: Makefile,v 1.77 2009/11/26 00:10:42 joerg Exp $
#
# NOTE:
# When updating, it is necessary to change the shlib version, located in
@@ -57,7 +57,8 @@ post-extract:
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
- CC="${LIBTOOL} ${CC}" \
+ CC="${LIBTOOL} --mode=compile ${CC}" \
+ LDCC="${LIBTOOL} --mode=link ${CC}" \
PREFIX=${PREFIX} OPTIMIZE="${CFLAGS}" \
EXTRALDFLAGS="${LIBS}"