aboutsummaryrefslogtreecommitdiff
path: root/www/libxpg4-ns/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/libxpg4-ns/Makefile')
-rw-r--r--www/libxpg4-ns/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/libxpg4-ns/Makefile b/www/libxpg4-ns/Makefile
index 3f69dc6af0b4..b85dc8582193 100644
--- a/www/libxpg4-ns/Makefile
+++ b/www/libxpg4-ns/Makefile
@@ -14,8 +14,6 @@ DISTNAME= libxpg4-3.3
MAINTAINER= sada@FreeBSD.ORG
-INSTALLS_SHLIB= yes
-
MAKE_ENV+= OBJFORMAT=aout SHLIB_MAJOR=2 SHLIB_MINOR=0
PORTOBJFORMAT= aout
@@ -31,6 +29,9 @@ pre-build:
pre-install:
${MKDIR} ${LIBDIR}
+post-install:
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${LIBDIR}
+
extract-from-freebsd: # only for port maintainer.
.if exists(/usr/src/lib)
@${RM} -rf ${WRKSRC}