Created
June 18, 2013 18:25
-
-
Save tjfontaine/5807945 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index 78cebdb..73eaac0 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -320,14 +320,14 @@ binary: $(BINARYTAR) | |
$(PKGSRC): release-only | |
rm -rf dist out | |
- $(PYTHON) configure --prefix=/ --without-snapshot \ | |
+ $(PYTHON) configure --prefix=/opt/local --without-snapshot \ | |
--dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS) | |
- $(MAKE) install DESTDIR=dist | |
- (cd dist; find * -type f | sort) > packlist | |
+ LDFLAGS="-R /opt/local/gcc47/lib:/opt/local/lib" $(MAKE) install DESTDIR=dist | |
+ (cd dist/opt/local/ && find * -type f -o -type l | sort) > packlist | |
pkg_info -X pkg_install | \ | |
egrep '^(MACHINE_ARCH|OPSYS|OS_VERSION|PKGTOOLS_VERSION)' > build-info | |
pkg_create -B build-info -c tools/pkgsrc/comment -d tools/pkgsrc/description \ | |
- -f packlist -I /opt/local -p dist -U $(PKGSRC) | |
+ -f packlist -I /opt/local -p dist/opt/local -U $(PKGSRC) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment