summaryrefslogtreecommitdiff
path: root/x11-toolkits/tk80/Makefile
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1998-03-18 00:56:29 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1998-03-18 00:56:29 +0000
commite7952443b39c52e7ac24f085dc8283fca206b2a1 (patch)
tree88445c9c817ca5f321bd6eb1ee7b8ce4fb14a8fc /x11-toolkits/tk80/Makefile
parentupgrade to 0.99.21, there'll be another port containing the ``unstable'' (diff)
Do the Right Thing when building static libraries.
Notes
Notes: svn path=/head/; revision=10220
Diffstat (limited to 'x11-toolkits/tk80/Makefile')
-rw-r--r--x11-toolkits/tk80/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/x11-toolkits/tk80/Makefile b/x11-toolkits/tk80/Makefile
index cdf9ea574ae5..a56197057caf 100644
--- a/x11-toolkits/tk80/Makefile
+++ b/x11-toolkits/tk80/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 August 1997
# Whom: jkh
#
-# $Id: Makefile,v 1.6 1997/11/26 22:49:14 pst Exp $
+# $Id: Makefile,v 1.7 1997/12/01 16:50:58 pst Exp $
#
DISTNAME= tk8.0p2
@@ -20,6 +20,18 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 2
+MAKEFILE= makefile
+
+post-configure:
+ @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}
+ @${CP} ${FILESDIR}/makefile ${WRKSRC}
+
+pre-build:
+ @cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} \
+ SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR}
+
post-install:
${LDCONFIG} -m ${PREFIX}/lib