aboutsummaryrefslogtreecommitdiff
path: root/audio/libsidplay2
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-22 17:30:31 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-22 17:30:31 +0000
commit6e752fef3b9dba0798e69123b25b711cd9ceb126 (patch)
treedebd7333440ccbc3aede62701fec944badff18e1 /audio/libsidplay2
parentc220820f291c26b6a0f740eb09ed4d67e591e8b9 (diff)
downloadports-6e752fef3b9dba0798e69123b25b711cd9ceb126.tar.gz
ports-6e752fef3b9dba0798e69123b25b711cd9ceb126.zip
- Do not install useless .la file
PR: 45919 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=71793
Diffstat (limited to 'audio/libsidplay2')
-rw-r--r--audio/libsidplay2/Makefile9
-rw-r--r--audio/libsidplay2/files/patch-configure12
-rw-r--r--audio/libsidplay2/files/patch-libtool11
-rw-r--r--audio/libsidplay2/pkg-plist1
4 files changed, 19 insertions, 14 deletions
diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile
index e5e21fe2b54c..ec24f64c2ea3 100644
--- a/audio/libsidplay2/Makefile
+++ b/audio/libsidplay2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libsidplay2
PORTVERSION= 2.0.7
+PORTREVISION= 1
CATEGORIES= audio emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sidplay2
@@ -19,9 +20,13 @@ LIB_DEPENDS= resid.2:${PORTSDIR}/audio/resid
WRKSRC= ${WRKDIR}/${PORTNAME:S/2//}-${PORTVERSION}
-GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
+CONFIGURE_ARGS= --with-resid-includes=${LOCALBASE}/include \
+ --with-resid-library=${LOCALBASE}/lib
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${CHMOD} +rw ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>
diff --git a/audio/libsidplay2/files/patch-configure b/audio/libsidplay2/files/patch-configure
new file mode 100644
index 000000000000..b38945858843
--- /dev/null
+++ b/audio/libsidplay2/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig Tue May 8 02:23:11 2001
++++ configure Sun Dec 1 07:12:29 2002
+@@ -1838,7 +1838,8 @@
+
+
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/audio/libsidplay2/files/patch-libtool b/audio/libsidplay2/files/patch-libtool
deleted file mode 100644
index d32b8a312bdf..000000000000
--- a/audio/libsidplay2/files/patch-libtool
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Mon May 7 19:23:11 2001
-+++ configure Mon Nov 18 05:04:02 2002
-@@ -1841,7 +1841,7 @@
- LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='libtool'
-
- # Redirect the config.log output again, so that the ltconfig log is not
- # clobbered by the next message.
diff --git a/audio/libsidplay2/pkg-plist b/audio/libsidplay2/pkg-plist
index 84fe65071168..8643b25bb179 100644
--- a/audio/libsidplay2/pkg-plist
+++ b/audio/libsidplay2/pkg-plist
@@ -6,7 +6,6 @@ include/sidplay/sidendian.h
include/sidplay/sidplay2.h
include/sidplay/sidtypes.h
lib/libsidplay2.a
-lib/libsidplay2.la
lib/libsidplay2.so
lib/libsidplay2.so.0
@dirrm include/sidplay