View | Details | Raw Unified | Return to bug 22054
Collapse All | Expand All

(-)audio/openal/Makefile (-5 / +7 lines)
Lines 13-26 Link Here
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
14
15
WRKSRC=		${WRKDIR}/${PORTNAME}/linux
15
WRKSRC=		${WRKDIR}/${PORTNAME}/linux
16
17
USE_GMAKE=	yes
16
USE_AUTOCONF=	yes
18
USE_AUTOCONF=	yes
17
GNU_CONFIGURE=	yes
18
INSTALLS_SHLIB=	yes
19
INSTALLS_SHLIB=	yes
19
20
20
post-patch:
21
post-patch:
21
	for file in $$(find ${WRKSRC} -name Makefile.in); \
22
	@find ${WRKSRC} -name 'Makefile.in' | xargs ${PERL} -pi -e 's/-g -c/-c/g'
22
	do \
23
23
		perl -pi -e 's/-g -c/-c/g' $${file}; \
24
post-install:
24
	done
25
	${INSTALL_DATA} ${WRKSRC}/doc/openal.info ${PREFIX}/info
26
	@install-info ${PREFIX}/info/openal.info ${PREFIX}/info/dir
25
27
26
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)audio/openal/files/patch-Makefile.in (+42 lines)
Line 0 Link Here
1
--- Makefile.in.orig	Sun Sep  3 17:40:32 2000
2
+++ Makefile.in	Fri Oct 13 05:50:01 2000
3
@@ -1,4 +1,5 @@
4
 INSTALL=@INSTALL@
5
+INSTALL_DATA=@INSTALL_DATA@
6
 LN_S=@LN_S@
7
 DESTDIR=@prefix@/
8
 DESTINC=$(DESTDIR)include
9
@@ -38,20 +39,19 @@
10
 	$(INSTALL) -d -m 755 $(DESTINC)
11
 	$(INSTALL) -d -m 755 $(DESTINC)/AL
12
 	$(INSTALL) -d -m 755 $(DESTLIB)
13
-	$(INSTALL) -m 755 src/libopenal.a $(DESTLIB)
14
-	$(INSTALL) -m 755 src/libopenal.so.$(VERSION) $(DESTLIB)
15
-	$(LN_S) -f $(DESTLIB)/libopenal.so.$(VERSION) $(DESTLIB)/libopenal.so.$(MAJOR_VERSION)
16
-	$(LN_S) -f $(DESTLIB)/libopenal.so.$(VERSION) $(DESTLIB)/libopenal.so
17
-	$(INSTALL) -m 444 ../include/AL/al.h $(DESTINC)/AL
18
-	$(INSTALL) -m 444 ../include/AL/alc.h $(DESTINC)/AL
19
-	$(INSTALL) -m 444 ../include/AL/alu.h $(DESTINC)/AL
20
-	$(INSTALL) -m 444 ../include/AL/alut.h $(DESTINC)/AL
21
-	$(INSTALL) -m 444 ../include/AL/altypes.h $(DESTINC)/AL
22
-	$(INSTALL) -m 444 ../include/AL/alctypes.h $(DESTINC)/AL
23
-	$(INSTALL) -m 444 ../include/AL/alutypes.h $(DESTINC)/AL
24
-	$(INSTALL) -m 444 ../include/AL/aluttypes.h $(DESTINC)/AL
25
-	$(INSTALL) -m 444 include/AL/alkludge.h $(DESTINC)/AL
26
-	$(INSTALL) -m 444 include/AL/alkludgetypes.h $(DESTINC)/AL
27
+	$(INSTALL_DATA) src/libopenal.a $(DESTLIB)
28
+	$(INSTALL_DATA) src/libopenal.so.$(MAJOR_VERSION) $(DESTLIB)
29
+	$(LN_S) -f $(DESTLIB)/libopenal.so.$(MAJOR_VERSION) $(DESTLIB)/libopenal.so
30
+	$(INSTALL_DATA) ../include/AL/al.h $(DESTINC)/AL
31
+	$(INSTALL_DATA) ../include/AL/alc.h $(DESTINC)/AL
32
+	$(INSTALL_DATA) ../include/AL/alu.h $(DESTINC)/AL
33
+	$(INSTALL_DATA) ../include/AL/alut.h $(DESTINC)/AL
34
+	$(INSTALL_DATA) ../include/AL/altypes.h $(DESTINC)/AL
35
+	$(INSTALL_DATA) ../include/AL/alctypes.h $(DESTINC)/AL
36
+	$(INSTALL_DATA) ../include/AL/alutypes.h $(DESTINC)/AL
37
+	$(INSTALL_DATA) ../include/AL/aluttypes.h $(DESTINC)/AL
38
+	$(INSTALL_DATA) include/AL/alkludge.h $(DESTINC)/AL
39
+	$(INSTALL_DATA) include/AL/alkludgetypes.h $(DESTINC)/AL
40
 
41
 configure: configure.in
42
 	@echo "configure.in newer than configure...Please re-./configure"
(-)audio/openal/files/patch-src:Makefile.in (+21 lines)
Line 0 Link Here
1
--- src/Makefile.in.orig	Sat Sep  9 07:15:48 2000
2
+++ src/Makefile.in	Fri Oct 13 05:51:52 2000
3
@@ -81,7 +81,6 @@
4
 	rm -f $(EXT_OBJS)
5
 	rm -f $(EXT_DLL_OBJS)
6
 	rm -f libopenal.a
7
-	rm -f libopenal.$(SO_EXT).$(VERSION)
8
 	rm -f libopenal.$(SO_EXT).$(MAJOR_VERSION)
9
 	rm -f libopenal.$(SO_EXT)
10
 	rm -f core
11
@@ -103,8 +102,8 @@
12
 libopenal.so: $(AL_OBJS) $(ALC_OBJS) $(AC_OBJS) $(ALUT_OBJS) extensions
13
 	$(CC) -shared \
14
 		-Wl,-soname \
15
-		-Wl,libopenal-$(MAJOR_VERSION).$(MINOR_VERSION).so \
16
-		-o libopenal.so.$(VERSION) \
17
+		-Wl,libopenal.so.$(MAJOR_VERSION) \
18
+		-o libopenal.so.$(MAJOR_VERSION) \
19
 		$(AL_OBJS)     \
20
 		$(ALC_OBJS)    \
21
 		$(AC_OBJS)     \
(-)audio/openal/pkg-plist (-6 / +9 lines)
Lines 1-14 Link Here
1
include/AL/al.h
1
include/AL/al.h
2
include/AL/alc.h
2
include/AL/alc.h
3
include/AL/alu.h
4
include/AL/alut.h
5
include/AL/altypes.h
6
include/AL/alctypes.h
3
include/AL/alctypes.h
7
include/AL/alutypes.h
8
include/AL/aluttypes.h
9
include/AL/alkludge.h
4
include/AL/alkludge.h
10
include/AL/alkludgetypes.h
5
include/AL/alkludgetypes.h
6
include/AL/altypes.h
7
include/AL/alu.h
8
include/AL/alut.h
9
include/AL/aluttypes.h
10
include/AL/alutypes.h
11
@unexec install-info --delete %D/info/openal.info %D/info/dir
12
info/openal.info
13
@exec install-info %D/info/openal.info %D/info/dir
14
lib/libopenal.a
11
lib/libopenal.so
15
lib/libopenal.so
12
lib/libopenal.so.0
16
lib/libopenal.so.0
13
lib/libopenal.so.0.0.4
14
@dirrm include/AL
17
@dirrm include/AL

Return to bug 22054