aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-01-30 18:25:34 +0800
committerpav <pav@FreeBSD.org>2007-01-30 18:25:34 +0800
commit68e4663f01d748743e0029f83931c02fba58eb4e (patch)
treed24dbe32e4bdb87d0f3ba1c46717e6e34576e724 /audio
parentc6c1440c2b66077bedba90612a4827a8051ec9c1 (diff)
downloadfreebsd-ports-gnome-68e4663f01d748743e0029f83931c02fba58eb4e.tar.gz
freebsd-ports-gnome-68e4663f01d748743e0029f83931c02fba58eb4e.tar.zst
freebsd-ports-gnome-68e4663f01d748743e0029f83931c02fba58eb4e.zip
- Remove support for a.out format and PORTOBJFORMAT variable from individual
ports With hat: portmgr
Diffstat (limited to 'audio')
-rw-r--r--audio/gsm/files/patch-ab31
-rw-r--r--audio/timidity++-emacs/Makefile5
-rw-r--r--audio/timidity++/Makefile6
3 files changed, 14 insertions, 28 deletions
diff --git a/audio/gsm/files/patch-ab b/audio/gsm/files/patch-ab
index eba4d10a6672..3408bd032c02 100644
--- a/audio/gsm/files/patch-ab
+++ b/audio/gsm/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Apr 26 12:14:26 2006
-+++ Makefile Fri Aug 11 13:46:15 2006
+--- Makefile.orig Wed Apr 26 15:14:26 2006
++++ Makefile Thu Jan 25 22:12:30 2007
@@ -43,8 +43,8 @@
# CC = /usr/lang/acc
# CCFLAGS = -c -O
@@ -51,7 +51,7 @@
#
# You shouldn't have to configure below this line if you're porting.
-@@ -129,18 +132,23 @@
+@@ -129,18 +132,19 @@
# DEBUG = -DNDEBUG
######### Remove -DNDEBUG to enable assertions.
@@ -70,15 +70,11 @@
-LIBGSM = $(LIB)/libgsm.a
-
+LIBGSM = libgsm.a
-+.if ${PORTOBJFORMAT} == elf
+SOLIBGSM = libgsm.so.1
-+.else
-+SOLIBGSM = libgsm.so.1.1
-+.endif
TOAST = $(BIN)/toast
UNTOAST = $(BIN)/untoast
TCAT = $(BIN)/tcat
-@@ -257,13 +265,15 @@
+@@ -257,13 +261,15 @@
# Install targets
GSM_INSTALL_TARGETS = \
@@ -95,7 +91,7 @@
TOAST_INSTALL_TARGETS = \
$(TOAST_INSTALL_BIN)/toast \
$(TOAST_INSTALL_BIN)/tcat \
-@@ -277,9 +287,12 @@
+@@ -277,9 +283,12 @@
$(CC) $(CFLAGS) $?
@-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
@@ -109,7 +105,7 @@
@-echo $(ROOT): Done.
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
-@@ -299,24 +312,32 @@
+@@ -299,24 +308,28 @@
# The basic API: libgsm
@@ -118,11 +114,7 @@
- $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
- $(RANLIB) $(LIBGSM)
+$(LIB)/$(SOLIBGSM): $(LIB) $(GSM_OBJECTS:S/o$/so/g)
-+.if ${PORTOBJFORMAT} == elf
+ $(CC) -o $@ -shared -Wl,-soname,$(SOLIBGSM) $(GSM_OBJECTS:S/o$/so/g)
-+.else
-+ ld -Bshareable -o $@ $(GSM_OBJECTS:S/o$/so/g)
-+.endif
+ (cd $(LIB); $(LN) -sf $(SOLIBGSM) `echo $(SOLIBGSM) | sed 's/\.so.*$$/.so/'`)
+
+$(LIB)/$(LIBGSM): $(LIB) $(GSM_OBJECTS)
@@ -152,7 +144,7 @@
# The local bin and lib directories
-@@ -342,62 +363,67 @@
+@@ -342,62 +355,67 @@
gsmuninstall:
-if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \
@@ -232,18 +224,19 @@
- -rm $@
- cp $? $@
- chmod 444 $@
-+ $(RM) $@
-+ ${BSD_INSTALL_DATA} $? $@
-
+-
-$(GSM_INSTALL_LIB)/libgsm.a: $(LIBGSM)
- -rm $@
- cp $? $@
- chmod 444 $@
++ $(RM) $@
++ ${BSD_INSTALL_DATA} $? $@
+
+$(GSM_INSTALL_LIB)/$(LIBGSM): $(LIB)/$(LIBGSM)
+ $(RM) $@
+ ${BSD_INSTALL_DATA} $? $@
+ $(RANLIB) $@
-
++
+$(GSM_INSTALL_LIB)/$(SOLIBGSM): $(LIB)/$(SOLIBGSM)
+ $(RM) $@
+ ${BSD_INSTALL_DATA} $? $@
diff --git a/audio/timidity++-emacs/Makefile b/audio/timidity++-emacs/Makefile
index 09bcecfbc51e..d02156397e1b 100644
--- a/audio/timidity++-emacs/Makefile
+++ b/audio/timidity++-emacs/Makefile
@@ -29,6 +29,7 @@ INTERFACE?= emacs
USE_BZIP2= yes
GNU_CONFIGURE= yes
+LDFLAGS= -export-dynamic
USE_GMAKE= yes
.if !${INTERFACE} == "emacs" && !${INTERFACE} == "slang"
USE_XLIB= yes
@@ -96,10 +97,6 @@ CONFIGURE_ENV+= SHLD="${CC} -shared ${LDFLAGS}"
.include <bsd.port.pre.mk>
-.if ${PORTOBJFORMAT} == "elf"
-LDFLAGS+=-export-dynamic
-.endif
-
EUCJP_LOCALE= ja_JP.eucJP
PLIST_SUB+= EUCJP_LOCALE=${EUCJP_LOCALE}
diff --git a/audio/timidity++/Makefile b/audio/timidity++/Makefile
index c0ee2cef2b56..d3a3cc823c54 100644
--- a/audio/timidity++/Makefile
+++ b/audio/timidity++/Makefile
@@ -34,7 +34,7 @@ EXTRACT_AFTER_ARGS=| ${TAR} -xpf - --exclude '*/libarc/*' \
CONFIGURE_ARGS?=--enable-interface=ncurses,vt100,server
CONFIGURE_ARGS+=--program-transform-name= --enable-network
CPPFLAGS+= -I${LOCALBASE}/include/libarc
-CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}"
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS=-export-dynamic
PLIST_SUB= EUCJP_LOCALE=${EUCJP_LOCALE} TIMID_LIBDIR=${TIMID_LIBDIR} \
ELISPDIR=share/emacs/site-lisp
@@ -85,10 +85,6 @@ CONFIGURE_ARGS+=--enable-audio=oss,esd,vorbis
CONFIGURE_ARGS+=--enable-audio=oss,vorbis
.endif
-.if ${PORTOBJFORMAT} == "elf"
-CONFIGURE_ENV+= LDFLAGS=-export-dynamic
-.endif
-
pre-install:
@${MKDIR} ${PREFIX}/share/timidity ${PREFIX}/${TIMID_LIBDIR}