aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libsidplay2
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-12-23 01:30:31 +0800
committerijliao <ijliao@FreeBSD.org>2002-12-23 01:30:31 +0800
commitbe05da3d16c040b2163eb344696bdc01cbd168ec (patch)
tree07c477f1b718fba52ac0eeb773799a20da6057fb /audio/libsidplay2
parentcde200a4b19a57f89e2a27c762b2c0a7ddbb13c3 (diff)
downloadfreebsd-ports-gnome-be05da3d16c040b2163eb344696bdc01cbd168ec.tar.gz
freebsd-ports-gnome-be05da3d16c040b2163eb344696bdc01cbd168ec.tar.zst
freebsd-ports-gnome-be05da3d16c040b2163eb344696bdc01cbd168ec.zip
- Do not install useless .la file
PR: 45919 Submitted by: Ports Fury
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