diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-12-19 15:51:53 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-12-19 15:51:53 +0000 |
commit | 2a7627a8e034e3c1f9888a363bc91b32f148ad6d (patch) | |
tree | ed90f86abeb626a3438979c2dacf9b1aeb673740 /graphics/libmng | |
parent | e0b4df3a66c9908bddfbc8a8b70c49a3a5ca0647 (diff) | |
download | FreeBSD-ports-2a7627a8e034e3c1f9888a363bc91b32f148ad6d.zip FreeBSD-ports-2a7627a8e034e3c1f9888a363bc91b32f148ad6d.tar.gz |
- Use USE_LIBTOOL;
- remove strange @exec/@unexec hack to create symlink to a shared library from
pkg-plist. Our pkg_install tools should handle it w/o any problems.
Diffstat (limited to 'graphics/libmng')
-rw-r--r-- | graphics/libmng/Makefile | 8 | ||||
-rw-r--r-- | graphics/libmng/pkg-plist | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile index b63f541..2d8d39b 100644 --- a/graphics/libmng/Makefile +++ b/graphics/libmng/Makefile @@ -18,13 +18,15 @@ MAINTAINER= mi@aldan.algebra.com LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ lcms:${PORTSDIR}/graphics/lcms -INSTALLS_SHLIB= yes SHLIB_VER= 0 -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-jpeg=${LOCALBASE} --with-lcms=${LOCALBASE} WRKSRC= ${WRKDIR}/${PORTNAME} +INSTALLS_SHLIB= yes +USE_LIBTOOL= yes +CONFIGURE_ARGS= --with-jpeg=${LOCALBASE} \ + --with-lcms=${LOCALBASE} + PLIST_SUB= SHLIB_VER="${SHLIB_VER}" MAN3= libmng.3 diff --git a/graphics/libmng/pkg-plist b/graphics/libmng/pkg-plist index 0227ebf..e2be30c 100644 --- a/graphics/libmng/pkg-plist +++ b/graphics/libmng/pkg-plist @@ -2,7 +2,5 @@ include/libmng.h include/libmng_conf.h include/libmng_types.h lib/libmng.a -lib/libmng.la +lib/libmng.so lib/libmng.so.%%SHLIB_VER%% -@exec ln -sf %f %B/libmng.so -@unexec rm -f %B/libmng.so |