summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-07-04 07:42:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-07-04 07:42:14 +0000
commit80fa3d43ce130d3139671b8af76d5f72768fbf96 (patch)
tree00fb29dc07082a18299467363d804c1c94af51a3
parent- Switch to USES=libtool, drop .la files (diff)
- Switch to USES=libtool, drop .la files
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=360564
-rw-r--r--graphics/iec16022/Makefile5
-rw-r--r--graphics/iec16022/pkg-plist4
2 files changed, 5 insertions, 4 deletions
diff --git a/graphics/iec16022/Makefile b/graphics/iec16022/Makefile
index 625467167bff..79fe11c6366f 100644
--- a/graphics/iec16022/Makefile
+++ b/graphics/iec16022/Makefile
@@ -3,6 +3,7 @@
PORTNAME= iec16022
PORTVERSION= 0.2.4
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://datenfreihafen.org/~stefan/iec16022/ \
CRITICAL
@@ -16,9 +17,9 @@ LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USES= pkgconfig
+USES= libtool pkgconfig
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/iec16022.c \
diff --git a/graphics/iec16022/pkg-plist b/graphics/iec16022/pkg-plist
index 07ba91522ea3..e847e138a1af 100644
--- a/graphics/iec16022/pkg-plist
+++ b/graphics/iec16022/pkg-plist
@@ -2,9 +2,9 @@ bin/iec16022
include/iec16022/iec16022ecc200.h
include/iec16022/image.h
include/iec16022/reedsol.h
-lib/libiec16022.so
+lib/libiec16022.so.0.0.0
lib/libiec16022.so.0
-lib/libiec16022.la
+lib/libiec16022.so
lib/libiec16022.a
libdata/pkgconfig/libiec16022.pc
man/man1/iec16022.1.gz