summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-12-19 15:51:53 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-12-19 15:51:53 +0000
commita6734589235caae903b9b4e1df0bf01ae3d8d722 (patch)
treef89a44c40c6d650a21a0ed9f997c5ab02249fbb1 /graphics
parentUpdate to 0.1.3. (diff)
- 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.
Notes
Notes: svn path=/head/; revision=36129
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libmng/Makefile8
-rw-r--r--graphics/libmng/pkg-plist4
2 files changed, 6 insertions, 6 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile
index b63f5415c8e1..2d8d39b393d6 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 0227ebff9539..e2be30c4ca13 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