diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-11-13 20:05:23 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-11-13 20:05:23 +0800 |
commit | 74ff152fd3539f3e8d5eb62736c5b68ba5936ff6 (patch) | |
tree | 8c265866544daae13b2a862ae4d92617509abf70 /devel/libtecla | |
parent | 050b548b4546d71873e090513ee9af25035fa115 (diff) | |
download | freebsd-ports-gnome-74ff152fd3539f3e8d5eb62736c5b68ba5936ff6.tar.gz freebsd-ports-gnome-74ff152fd3539f3e8d5eb62736c5b68ba5936ff6.tar.zst freebsd-ports-gnome-74ff152fd3539f3e8d5eb62736c5b68ba5936ff6.zip |
builds and installs shlib
PR: 45261
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'devel/libtecla')
-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 |