aboutsummaryrefslogtreecommitdiff
path: root/japanese/gd
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/gd')
-rw-r--r--japanese/gd/Makefile4
-rw-r--r--japanese/gd/pkg-plist2
2 files changed, 2 insertions, 4 deletions
diff --git a/japanese/gd/Makefile b/japanese/gd/Makefile
index d3cbb78ccee1..3625985f5bb7 100644
--- a/japanese/gd/Makefile
+++ b/japanese/gd/Makefile
@@ -20,11 +20,11 @@ LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png
FETCH_BEFORE_ARGS= -b
USE_LIBTOOL= yes
+CFLAGS+= -DJISX0208
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/gd \
--libdir=${PREFIX}/lib
-
-CFLAGS= -DJISX0208
+INSTALLS_SHLIB= yes
pre-install:
${MKDIR} ${PREFIX}/include/gd
diff --git a/japanese/gd/pkg-plist b/japanese/gd/pkg-plist
index 4fee7f4df3d7..b3f4b142eb95 100644
--- a/japanese/gd/pkg-plist
+++ b/japanese/gd/pkg-plist
@@ -15,6 +15,4 @@ include/gd/gdfontt.h
lib/libgd.a
lib/libgd.so
lib/libgd.so.0
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@dirrm include/gd