diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-13 12:05:23 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-13 12:05:23 +0000 |
commit | e6ca0ede5a4ff16d071b38a2e1b6ad9f7c22bb23 (patch) | |
tree | 32dfc0157d318296e00fe5043e2855b4f8071ae5 | |
parent | - upgrade French dictionary to fix problem (diff) |
builds and installs shlib
PR: 45261
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes:
svn path=/head/; revision=70026
-rw-r--r-- | devel/libtecla/Makefile | 4 | ||||
-rw-r--r-- | devel/libtecla/files/patch-configure.in | 16 | ||||
-rw-r--r-- | devel/libtecla/pkg-plist | 2 |
3 files changed, 21 insertions, 1 deletions
diff --git a/devel/libtecla/Makefile b/devel/libtecla/Makefile index e1e3e05cf572..c2bd671ea4c8 100644 --- a/devel/libtecla/Makefile +++ b/devel/libtecla/Makefile @@ -8,18 +8,20 @@ PORTNAME= libtecla PORTVERSION= 1.4.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.astro.caltech.edu/~mcs/tecla/ MAINTAINER= ports@FreeBSD.org USE_SUBMAKE= yes -GNU_CONFIGURE= yes +USE_AUTOCONF= yes WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= default SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ REALCURDIR="${.CURDIR}" \ PORTNAME="${PORTNAME}" +INSTALLS_SHLIB= yes post-extract: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genman3list.sh diff --git a/devel/libtecla/files/patch-configure.in b/devel/libtecla/files/patch-configure.in new file mode 100644 index 000000000000..d66d71ce5737 --- /dev/null +++ b/devel/libtecla/files/patch-configure.in @@ -0,0 +1,16 @@ +--- configure.in.orig Wed Nov 13 18:46:39 2002 ++++ configure.in Wed Nov 13 18:43:42 2002 +@@ -365,6 +365,13 @@ + *dec-osf*) + AC_DEFINE(_OSF_SOURCE) + ;; ++*freebsd*) ++ SHARED_EXT=".so.${MAJOR_VER}" ++ SHARED_ALT=".so" ++ VERSION_OPT='--version-script=$$(srcdir)/libtecla.map' ++ LINK_SHARED='ld -o $$@ -soname libtecla$$(SUFFIX).so.'${MAJOR_VER}' -shared '$VERSION_OPT' $$(LIB_OBJECTS) $$(LIBS) -lc' ++ SHARED_CFLAGS="-fpic" ++ ;; + esac + + dnl The following statement checks to see if the GNU C compiler has diff --git a/devel/libtecla/pkg-plist b/devel/libtecla/pkg-plist index cf6ae552793c..9402916d0a8d 100644 --- a/devel/libtecla/pkg-plist +++ b/devel/libtecla/pkg-plist @@ -1,3 +1,5 @@ bin/enhance lib/libtecla.a +lib/libtecla.so +lib/libtecla.so.1 include/libtecla.h |